package cn.fx.framework.exception;

import cn.fx.framework.cons.ErrorCodeMessage;

/**
 * @author ljh
 * @date 2020/4/20 17:30
 */
public class ServiceCheckException extends BaseException {
    public ServiceCheckException(int code, String message){
        super(code, message);
    }
    public ServiceCheckException(String message){
        this(ErrorCodeMessage.SERVICE_CHECK_EXCEPTION_MSG.getCode(), message +
                "@{" + ErrorCodeMessage.SERVICE_CHECK_EXCEPTION_MSG.getMessage() + "}");
    }
}
